<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/4/1
 * Time: 17:31
 */

namespace app\common\entity;


use think\Model;

class SendMachine extends Model
{
    protected $table = 'send_machine';

    public static function addList($data)
    {
        $model = new self();
        $model->uid = $data['uid'];
        $model->tolevel = $data['tolevel'];
        $model->remark = $data['remark'];
        $model->types = $data['types'];
        $model->status = 1;
        $model->create_time = time();
        $model->update_time = time();

        return $model->save();


    }

}